package com.frame.platform.upload;

import java.util.List;

import com.frame.database.DbOperate;
import com.frame.database.JdataBean;

public class FileUpDao {

	public List<JdataBean> getDelList(String rootpath) throws Exception{
		return DbOperate.getInstance().query("select * from wb_files where filedir=? and deltag=1", new Object[]{rootpath});
	}
	public void removeFile(String filepath,String filedir) throws Exception{
		DbOperate.getInstance().insert("insert into wb_files (filepath,filedir,deltag) values (?,?,1)",new Object[]{filepath,filedir});
	}
}
